• Undocumented

    See more

    Declaration

    Objective-C

    @protocol MBMViewAnnotationPositionsUpdateListener
    /**
     * Called from the 'Renderer' thread with the updated positions.
     *
     * Note: For platforms that have a dedicated 'Renderer' thread that is different from the 'Main' thread, this function
     * will also be scheduled from the 'Renderer' thread but will be called on the 'Main' thread with empty positions.
     */
    - (void)onViewAnnotationPositionsUpdateForPositions:(nonnull NSArray<MBMViewAnnotationPositionDescriptor *> *)positions;
    @end

    Swift

    protocol ViewAnnotationPositionsUpdateListener
  • Various options needed for displaying view annotation.

    See more

    Declaration

    Objective-C

    
    @interface MBMViewAnnotationOptions : NSObject

    Swift

    class ViewAnnotationOptions : NSObject
  • Read-only data that is needed to correctly position the single view annotation on screen. Used inside ViewAnnotationPositionsUpdateListener callback to notify the listener about the visible view annotations’ position updates.

    See more

    Declaration

    Objective-C

    
    @interface MBMViewAnnotationPositionDescriptor : NSObject

    Swift

    class ViewAnnotationPositionDescriptor : NSObject
  • Enum describing how to place view annotation relatively to geometry.

    See more

    Declaration

    Objective-C

    enum MBMViewAnnotationAnchor : NSInteger {}

    Swift

    enum ViewAnnotationAnchor : Int, @unchecked Sendable